import { User } from '../entities/user.entity';
import { IsOptional} from 'class-validator'

export class UpdateUserDto {
    user:User

    @IsOptional()
    roleIds:number[]

    @IsOptional()
    postIds:number[];
}

export class resetPwdDto {
    id:number

    password:string
}
